package com.jzr.medical.db1.service.Impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jzr.medical.common.LayServiceImpl;
import com.jzr.medical.db1.dto.FoodOrderDto;
import com.jzr.medical.db1.mapper.TFoodOrderMapper;
import com.jzr.medical.db1.model.TFoodOrder;
import com.jzr.medical.db1.service.FoodOrderService;
import com.jzr.medical.db1.vo.FoodOrderDetailVo;
import com.jzr.medical.db1.vo.FoodOrderVo;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class FoodOrderServiceImpl extends LayServiceImpl<TFoodOrderMapper,TFoodOrder,FoodOrderVo,Integer> implements FoodOrderService {
    @Override
    public List<FoodOrderVo> list(IPage<FoodOrderVo> page, FoodOrderDto record) {
        return baseMapper.list(page,record);
    }

    @Override
    public List<FoodOrderDetailVo> listDetail(List<Integer> orderIds) {
        return baseMapper.listDetail(orderIds);
    }
}
